#ifndef MAINCONTROLLER_H
#define MAINCONTROLLER_H

#include "mainlayoutview.h"
#include "mainwindow.h"
#include "studentview.h"
class MainController
{
public:
    MainController();
    static MainController *getInstance();

    //
    void initMainLayoutView(MainLayoutView *view);
    void showMainLayoutView();
    void hideMainLayoutView();
    void showMainView();
    void hideMainView();
    void showStudentView();
    void hideStudentView();

private:
    static MainController *s_instance;
    MainWindow *m_mainView;
    MainLayoutView *m_mainlayoutView;
    StudentView *m_studentView;
};

#endif // MAINCONTROLLER_H
